#include "Task.h"
#include "Date.h"

Task::Task()
{
}

bool Task::Init(City */*city*/, Knight */*knight*/, QDate/*assinDate*/, int /*preDays*/)
{
    return true;
}

bool Task::Init(QDate &assinDate, int preDays)
{
    this->m_assinDate=assinDate;
    this->m_handleDate=assinDate.addDays(preDays);

    return true;
}

QDate Task::getHandleDate() const
{
    return this->m_handleDate;
}
